﻿@*
    For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@

<!-- 网页的主体内容-->
<!--   -->
<div class="container d-flex justify-content-center" style="background-color:rgba(197, 197, 197, 0.2); min-height: 730px; margin-top:150px">
    <form>
        <div class="mb-4 pt-3">
            <label class="form-label">ID：</label>
            <input class="form-control" type="text" id="id" name="id" required placeholder="编号" style="width: 500px;" value="@ViewBag.User.Id">
        </div>
        <div class="mb-4 pt-3">
            <label class="form-label">昵称：</label>
            <input class="form-control" type="text" id="nicheng" name="nicheng" required placeholder="昵称" value="@ViewBag.User.Nicheng">
        </div>

        <div class="mb-4">
            <label class="form-label">性别:</label>
            <input type="radio" id="male" name="sex" value="男" @(ViewBag.User.Sex is true ? "checked" : "")>
            <label for="male">男</label>
            <input type="radio" id="female" name="sex" value="女" @(ViewBag.User.Sex is false ? "checked" : "")>
            <label for="female">女</label>
        </div>
        <div>
            <label class="form-label">用户名：</label>
            <input class="form-control" type="date" id="username" name="username" required value="@ViewBag.User.Username">
        </div>

    </form>
</div>